import Vue from 'vue'
import VueRouter from 'vue-router'
import ViewIndex from '../views/ViewsIndex.vue'
import StatementPage from '../components/StatementPage.vue'

Vue.use(VueRouter)


const routes = [{
	path: '/',
	name: 'viewIndex',
	component: ViewIndex
}, {
	path: '/statementPage',
	name: 'statementPage',
	component: StatementPage
}]

const router = new VueRouter({
	mode: 'hash',
	base: process.env.BASE_URL,
	routes
})

export default router